<template>
  <main class="todo-list">
    <ul>
      <slot></slot>
    </ul>
  </main>
</template>

<script setup></script>

<style scoped>
.todo-list {
  margin-top: 10px;
}

.todo-list ul {
  padding: 0;
  margin: 0;
}

.todo-list li {
  display: flex;
  align-items: center;
  height: 40px;
  padding: 0 40px;
  list-style: none;
  border-bottom: 1px solid #eee;
}
.todo-list li span {
  flex: 1;
  margin-left: 20px;
}
.todo-list li button {
  padding: 0 10px;
}
</style>
